//
//  UILabel+Extension.swift
//  SinaWeibo
//
//  Created by 程建 on 16/9/23.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

extension UILabel {

    //便利构造函数
    convenience init(title:String,textColor:UIColor,fontSize:CGFloat){
        self.init()
        self.text = title
        self.textColor = textColor
        self.font = UIFont.systemFont(ofSize: fontSize)
        self.sizeToFit()
        
    }
    
    
}



